package mytriangle9_1_2_5;

public class TestMyTriangle {
	public static void main(String[] args) {
		
		MyPoint v1 = new MyPoint(3, 0);
		MyPoint v2 = new MyPoint(3, 4);
		MyPoint v3 = new MyPoint(0, 0);
		
		MyTriangle myTriangle = new MyTriangle(v1, v2, v3);
		MyTriangle myTriangle2 = new MyTriangle(v1, v2, v3);
		
		System.out.println(myTriangle);
		System.out.println(myTriangle.getPerimeter());
		System.out.println(myTriangle.getType());
		
		System.out.println(myTriangle.equals(myTriangle2));
		System.out.println(myTriangle.hashCode());
		System.out.println(myTriangle2.hashCode());
	}
}
